#ifndef BASE_CONSOLE_MESSAGE
#define BASE_CONSOLE_MESSAGE

#include "Event.h"
#include <string>

using std::string;

namespace mp_base
{
	class BaseConsoleMessage : public Event
	{
	public:
		BaseConsoleMessage() : Event(){}

	protected:
		/*! Called by << operator */
		virtual ostream& WriteToStream(ostream& os){ return os << m_message; }
		/*! Called by >> operator */
		virtual istream& ParseFromStream(istream& is){ return is; }

	private:
		string m_message;
	};
}

#endif